﻿using System;
using System.Collections.Generic;

namespace DirectService.Server.Com.taobao.Models
{
    public sealed class SKU
    {
        /// <summary>
        /// 当前产品档案是否sku，0-不是，1-是
        /// </summary>
        public int? skuflag { get; set; }
        /// <summary>
        /// 产品编码(PK)
        /// </summary>
        public string mtrlcode { get; set; }
        /// <summary>
        /// 配置(PK)
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 配置1(PK)
        /// </summary>
        public string woodcode { get; set; }
        /// <summary>
        /// 配置2(PK)
        /// </summary>
        public string pcode { get; set; }
        /// <summary>
        /// 产品档案ID
        /// </summary>
        public int? mtrlid { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string mtrlname { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string mtrlmode { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string unit { get; set; }



        /// <summary>
        /// 数量
        /// </summary>
        public decimal? qty { get; set; }
        /// <summary>
        /// 分配数量
        /// </summary>
        public decimal? fpqty { get; set; }
        /// <summary>
        /// 明细备注
        /// </summary>
        public string dscrp { get; set; }
        /// <summary>
        /// 明细备注2
        /// </summary>
        public string dscrp2 { get; set; }
        /// <summary>
        /// 明细交货日期
        /// </summary>
        public DateTime? requiredate { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal? price { get; set; }
        /// <summary>
        /// 预期完成时间
        /// </summary>
        public DateTime? perfinishdate { get; set; }

        /// <summary>
        /// 明细工组进度列表
        /// </summary>
        public List<Wrkgrpjd> wrkgrpjds { get; set; }

        /// <summary>
        /// 云端物料ID
        /// </summary>
        public int? fxmtrlid { get; set; }

        /// <summary>
        /// 所属企业ID
        /// </summary>
        public int? comid { get; set; }

        /// <summary>
        /// 配对工厂物料编码
        /// </summary>
        public string fc_mtrlcode { get; set; }
        /// <summary>
        /// 配对工厂配置
        /// </summary>
        public string fc_status { get; set; }
        /// <summary>
        /// 配对工厂配置1
        /// </summary>
        public string fc_woodcode { get; set; }
        /// <summary>
        /// 配对工厂配置2
        /// </summary>
        public string fc_pcode { get; set; }

        /// <summary>
        /// 未配对物料相关采购订单号
        /// </summary>
        public string unmatchbuytaskcods { get; set; }
    }
}
